package cn.findviewbydream.evil.main.service;

import cn.findviewbydream.evil.main.entity.BaseTypeOfWorkEntity;
import cn.findviewbydream.evil.main.entity.EmployeeEntity;

import java.util.Date;
import java.util.List;

/********************************************
 * 工程名：MealOrder
 * 包名：cn.findviewbydream.evil.main.service
 * 时间：17-3-2
 * 作者：白雨濃 evil
 * 邮箱：evilbai@foxmail.com
 * 内容：
 ********************************************/
public interface SettingEmployeeService
{
    List<EmployeeEntity> getEmployeeList(boolean isAll);

    EmployeeEntity getEmployee(String id);

    List<BaseTypeOfWorkEntity> getTypeOfWorkList();

    String postNewEmployee(String employeeId, String name, int typeOfWorkId, int salary, Integer bonus,
                           Date entryDateTime, Date leaveDateTime);


    boolean postEmployee(String employeeId, String name, int typeOfWorkId, int salary, Integer bonus,
                         Date entryDateTime, Date leaveDateTime);

    String postEmployeeLeave(String employeeId);

}